<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php /** @todo Should this be routed */ ?>
<?php if ( $this->params->get( 'show_logout_title' ) ) : ?>
<header class="componentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
	<h1><?php echo $this->params->get( 'header_logout' ); ?></h1>
</header>
<?php endif; ?>
<form action="index.php" method="post" name="login" id="login">
		<?php echo $this->image; ?>
		<?php
			if ($this->params->get('description_logout')) :
				echo $this->params->get('description_logout_text');
			endif;
		?>
			<input type="submit" name="Submit" class="button" value="<?php echo JText::_( 'Logout' ); ?>" />

<input type="hidden" name="option" value="com_user" />
<input type="hidden" name="task" value="logout" />
<input type="hidden" name="return" value="<?php echo $this->return; ?>" />
</form>